﻿using System.Windows.Controls;
using System.Windows.Navigation;
using Fayshine.VA.ViewModels;
using System.Collections.Generic;
using Fayshine.VA.RIAService.Web;
using System.Windows.Controls.Theming;
using System.Windows;

namespace Fayshine.VA.Views.SysConfig
{
    public partial class DeviceStatus : Page
    {
        private DeviceCameraViewModel m_ViewModel = null;
        public DeviceStatus()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(DeviceStatus_Loaded);
        }

        void DeviceStatus_Loaded(object sender, RoutedEventArgs e)
        {
            m_ViewModel = new DeviceCameraViewModel();
            this.DataContext = m_ViewModel;

            m_ViewModel.GetAllDevicess();
        }

        // Executes when the user navigates to this page.
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
        }

    }
}
